package com.cn.xiaonuo.tcrfinance.tcrorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.xiaonuo.tcrfinance.tcrorder.entity.PvPossessionGoodsReward;
import com.cn.xiaonuo.tcrfinance.tcrshops.entity.PlatformEntity;
import com.cn.xiaonuo.tcrfinance.tcrshops.param.PvOrderDeliverysParam;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PvPossessionGoodsRewardMapper extends BaseMapper<PvPossessionGoodsReward> {
    //奖励记录汇总记录
    Double goodsRewardSumy(PlatformEntity platformEntity);

    //奖励记录
    List<Map<String, Object>> goodsRewardPage(PlatformEntity platformEntity);

    //余额记录汇总记录
    List<Map<String, Object>> prizeTotalPage(PlatformEntity platformEntity);

    //余额记录
    Double prizeSum(PlatformEntity platformEntity);

    List<Map<String, Object>> cancelPicking(PvOrderDeliverysParam pvOrderDeliverysParam);
}
